/*
 * @Author: your name
 * @Date: 2022-03-29 18:00:11
 * @LastEditTime: 2022-04-07 18:19:39
 * @LastEditors: LGX
 * @Description: 客户公海
 * @FilePath: \erp-management-system\src\router\customerHighSeasRouter.js
 */
import { Suspense, lazy } from 'react'
const lazyComponent = (path) => {
    const Lazy = lazy(() => import(`../views/seas/${path}`))
    return <Suspense fallback={<div>Loading...</div>}>
        <Lazy />
    </Suspense>
}
const customerHighSeasRouter = [
    {
        path: '/seas',
        title: '客户公海',
        children: [
            {
                path: '/seas/list',
                title: '公海列表',
                element: lazyComponent('CustomerList')
            },
            {
                path: '/seas/audit',
                title: '待审核申请',
                element: lazyComponent('CustomerList')
            },
            {
                path: '/seas/repeat',
                title: '重复数据',
                element: lazyComponent('CustomerList')
            },
            {
                path: '/seas/add',
                title: '新增公海',
                element: lazyComponent('CustomerAdd')
            }
        ]
    }


]
export default customerHighSeasRouter